import 'package:aio/aio.dart';
import 'package:flutter/material.dart';
import 'platform_jump_game_page.dart';
import 'game_menu_page.dart';

class GameRoutes {
  static const String gameMenu = '/game/menu';
  static const String platformJumpGame = '/game/platform-jump';
  
  static Map<String, WidgetBuilder> getRoutes() {
    return {
      gameMenu: (context) => const GameMenuPage(),
      platformJumpGame: (context) => const PlatformJumpGamePage(),
    };
  }
  
  static void navigateToGameMenu(BuildContext context) {
    // Navigator.pushNamed(context, gameMenu);
    LibRouteHelper.push(context, GameMenuPage());
  }
  
  static void navigateToPlatformJumpGame(BuildContext context) {
    // Navigator.pushNamed(context, platformJumpGame);
    LibRouteHelper.push(context, PlatformJumpGamePage());
  }
} 